xend: Accept udev events and update physical resource information
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 10:40:47 +0000 (10:40 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 10:40:47 +0000 (10:40 +0000)
commit27db6136ea3b03d8711a7901a437b1f76030c9d9
tree89771cff374bb520fd302caf0e0dc2ed2c77c8ab
parent4d4d14e8e841d1d65b4399b07ad83f8cdc441347
xend: Accept udev events and update physical resource information

When a udev event is received, udevevent.py parses the udev data and
tells XendNode.py to update the physical resource information.
This patch also add a boolean parameter 'xend-udev-event-server', to
let users indicate whether we should enable this function or not.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/examples/xend-config.sxp
tools/python/xen/xend/XendNode.py
tools/python/xen/xend/XendOptions.py
tools/python/xen/xend/server/SrvDaemon.py
tools/python/xen/xend/server/udevevent.py [new file with mode: 0644]